package com.sumainfor.pc.market.service;

import com.sumainfor.pc.market.dao.CommunityGetMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* <p>
* 查询房源信息
* </p>
*
* @author: zhoucong
* @since:
*/
@Service
public class  CommunityGetService implements Serializable {

    @Autowired
    CommunityGetMapper communityGetMapper;

    /**
     * 根据房源配置主表编号 分页 模糊 条件查询房源信息
     *
     * @param params
     * @return
     */
    public List<Map<String, Object>> getCommunityList(Map<String, Object> params) {

        return communityGetMapper.getCommunityList(params);

    }
    /**
     * 根据房源列表总数
     */
    public Integer getCommunityListCount(Map<String, Object> params){
        return communityGetMapper.getCommunityListCount(params);
    }


}
